package cn.lytcom.architecture;

import javax.inject.Singleton;

import cn.lytcom.architecture.activity.InfoActivity;
import cn.lytcom.architecture.activity.MainActivity;
import cn.lytcom.architecture.api.AppRestQueue;
import cn.lytcom.architecture.fragment.InfoFragment;
import dagger.Component;

/**
 * Created by lytcom on 2017/4/23.
 */

@Singleton
@Component(modules = {AppModule.class})
public interface AppComponent {
    void inject(MainActivity activity);

    void inject(InfoActivity activity);

    void inject(InfoFragment fragment);

    void inject(AppRestQueue appRestQueue);
}
